package com.easy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.EnableCaching;

//启动类，一定要在顶级包上去添加
@SpringBootApplication//这个注解标识了Spring Boot应用的入口
//开启缓存
@EnableCaching
public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);// 启动Spring Boot应用
    }
}
